package com.ant.cn;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * Created by baichuan on 2016/11/7.
 */
public class AntTest {
    public static void main(String[] args) {

        try {
            new AntTest().test001();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }


    public void test001() throws IOException {
        this.getClass().getClassLoader();
        File file = new File("./ant.png");
        FileOutputStream fout = new FileOutputStream(file);
        fout.write("asdfafasd123456789_000".getBytes());
        fout.flush();
        fout.close();
        file = null;
    }
}
